package com.ruoyi.stock.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 股票池信息对象 stock_info
 * 
 * @author lzl
 * @date 2025-11-05
 */
@Data
public class StockInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String code;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String name;

    /** 涨幅 */
    @Excel(name = "涨幅")
    private double increaseRate;

    /** 涨速 */
    @Excel(name = "涨速")
    private String riseSpeed;

    /** 领涨 */
    @Excel(name = "领涨")
    private String leadUp;

    /** 主力 */
    @Excel(name = "主力")
    private String mainForce;

    /** 连板 */
    @Excel(name = "连板")
    private String consecutiveBoards;

    /** 主题 */
    @Excel(name = "主题")
    private String theme;

    /** 主力净额 */
    @Excel(name = "主力净额")
    private double mainNetAmount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 股票板块id */
    @Excel(name = "股票板块id")
    private Long setorId;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;
}
